<?php

include(dirname(__FILE__).'/../../bootstrap/functional.php');

$browser = new TrueTraderTestFunctional(new sfBrowser());
$browser->loadData();

$browser->info('1 - The homepage')->
  get('/')->
  with('request')->begin()->
    isParameter('module', 'article')->
    isParameter('action', 'index')->
  end()->

  with('response')->begin()->
    info('  1.1 - Links that required login are not listed')->
    checkElement('.auth_link', 0)->
  end()
;
